package com.neuedu.boot.entity;

import java.util.Date;

/**
 * 项目：      springboot
 * 类名:       User
 * 创建时间：  2024/3/26 11：10
 * 描述 :
 * 作者 :     张金山
 * QQ :     314649444
 * Site:      https://jshand.gitee.io
 */
public class User {

    private Integer id;
    private String username;
    private String nickname;
    private String password;
    private Date expire;
    private Integer  isDel;

    public User(Integer id, String username, String nickname, String password, Date expire, Integer isDel) {
        this.id = id;
        this.username = username;
        this.nickname = nickname;
        this.password = password;
        this.expire = expire;
        this.isDel = isDel;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getExpire() {
        return expire;
    }

    public void setExpire(Date expire) {
        this.expire = expire;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", nickname='" + nickname + '\'' +
                ", password='" + password + '\'' +
                ", expire=" + expire +
                ", isDel=" + isDel +
                '}';
    }
}
